package com.yf.model.ai.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * AI 消息记录表-AiMessagePageVO
 *
 * @author: YiFei
 * @since : 2025年7月7日 16:58:45
 */
@Schema(description = "AI 消息记录表PageVO")
@Data
public class AiMessagePageVO {

    /**
     * 主键
     */
    @Schema(description = "主键")
    private Long id;

    /**
     * 会话ID
     */
    @Schema(description = "会话ID")
    private Long conversationId;

    /**
     * 角色
     */
    @Schema(description = "角色")
    private String role;

    /**
     * Metadata
     */
    @Schema(description = "Metadata")
    private String metadata;

    /**
     * 发送时间
     */
    @Schema(description = "发送时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime sendTime;

}
